import request from '@/utils/request'

// 查询采购单列表
export function getList(query) {
  return request({
    url: '/mes/cg/orderVoucher/list',
    method: 'get',
    params: query
  })
}

// 查询采购单详细
export function getDetail(id) {
  return request({
    url: '/mes/cg/orderVoucher/' + id,
    method: 'get'
  })
}
